<!--
  @author yule
  @date 2021/03/11 17:11
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<html th:replace="~{work/modify/common/layout :: layout('再次上门', ~{::title}, ~{::content}, ~{::script})}">
<title>再次上门</title>

<link rel="stylesheet" href="/static/style/order/order.css" media="all">
</head>
<body>

<div th:fragment="content">
    <div class="layui-fluid new-order-page">
        <div class="layui-card">
            <form method="post" action="" class="layui-form" lay-filter="zmn-order-add-form">

                <input type="hidden" name="orderId" id="orderId" th:value="${orderWork.orderId}"/>
                <input type="hidden" name="workId" id="workId" th:value="${orderWork.workId}"/>
                <input type="hidden" name="masterId" id="masterId" th:value="${orderWork.masterId}"/>
                <div class="layui-split">&nbsp;</div>

                <!-- 再次上门缘由-->
                <div class="layui-form-item">
                    <label class="layui-form-label" style="width: 100px">类型：</label>
                    <div class="layui-input-block layui-col-space10">
                        <div class="layui-col-md6" id="faults-wrapper">
                            <input type="radio"
                                   name="visitType"
                                   lay-skin="primary"
                                   th:each="item : ${visitTypeList}"
                                   th:title="${item.text}"
                                   th:value="${item.value}"/>
                        </div>
                    </div>
                </div>

                <!-- 再次上门时间 -->

                <div class="layui-form-item" id="next-contact-time" >
                        <label class="layui-form-label" style="width: 100px">再次上门时间：</label>
                        <div class="layui-input-inline" id="next-contact-date-wrapper" style="width: 200px;">
                            <input class="layui-input"
                                   id="expectVisitTime"
                                   type="text"
                                   name="expectVisitTime"
                                   lay-verify="expectVisitTime"
                                   placeholder="请选择日期时间">
                        </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label" style="width: 100px">备注：</label>
                    <div class="layui-input-inline textarea-new-order">
                        <textarea class="layui-textarea"
                                  id="other-remark"
                                  name="remark"></textarea>
                    </div>
                </div>

                <!-- 按钮 -->
                <div class="layui-form-item">
                    <label class="layui-form-label"></label>
                    <div class="layui-input-block">
                        <div>
                            <input id="confirmbtn" type="button" class="layui-btn" lay-submit lay-filter="confirmbtn" value="确认"/>
                        </div>
                    </div>
                </div>
                <div style="height: 1px"></div>
            </form>
        </div>
    </div>
</div>

<script th:inline="javascript">
    var layuiModel = {
        oms_work_modify_multiple_visit: "work/modify/zmn.oms.work.modify.multiplevisit"
    };
</script>
</body>
</html>
